package com.horay.springbootdemo.session.redis.configuration;

import org.springframework.context.annotation.Configuration;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * 会话缓存配置
 *
 * @author heyingcheng
 * @date 2019/10/1 16:43
 */
@Configuration
@EnableRedisHttpSession(maxInactiveIntervalInSeconds=86400*30)
public class SessionConfiguration {
}
